﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace LakeSide.Web.Filter
{
    public class ActionAndResultFilter : ActionFilterAttribute 
    {
        /// <summary>
        /// Action之前执行
        /// </summary>
        /// <param name="filterContext"></param>
        public override void OnActionExecuted(ActionExecutedContext filterContext) 
        {

            base.OnActionExecuted(filterContext);
        }

        /// <summary>
        /// Action之后执行
        /// </summary>
        /// <param name="filterContext"></param>
        public override void OnActionExecuting(ActionExecutingContext filterContext)
        { 
            
        }
        
        /// <summary>
        /// Result之前执行
        /// </summary>
        /// <param name="filterContext"></param>
        public override void OnResultExecuted(ResultExecutedContext filterContext)
        { 
            
        }
        
        /// <summary>
        /// Result之后执行
        /// </summary>
        /// <param name="filterContext"></param>
        public override void OnResultExecuting(ResultExecutingContext filterContext)
        { 
        
        }
    }
}